package com.zhilianbao.leyaogo.http.client;

import android.content.Context;

import com.zhilianbao.okhttputils.OkHttpUtils;
import com.zhilianbao.okhttputils.callback.Callback;
import com.zhilianbao.okhttputils.model.JsonParams;


/**
 * ClassName: NewOkHttpClient <br>
 * Description: <br>
 * Author: Cyarie <br>
 * Created: 2016/11/23 11:37 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class LeYaoGoClient {
    /**
     * Post请求
     * 用于乐摇Go基本请求
     *
     * @param context
     * @param url
     * @param jsonParams
     * @param callback
     */
    public static void post(Context context, String url, JsonParams jsonParams, Callback callback) {
        OkHttpUtils.post(url).tag(context).params(jsonParams).execute(callback);
    }

}
